package com.yvan.example.service;

import com.yvan.example.dao.IdRuleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = true)
public class IdService {

    @Autowired
    private IdRuleMapper idRuleMapper;

    public long getDbTime() {
        return idRuleMapper.getDbTime();
    }

}
